package LinkList;

public class ZuoYeZhuHanShu {
    public static void main(String[] args) {
        zuoye list=new zuoye();
        list.addFirst(1);
        list.addLast(2);
        list.display();
        list.addIndex(1,2);
        list.addIndex(1,1);
        list.addIndex(1,4);
        list.addIndex(1,1);
        list.addIndex(1,3);
        list.display();
        System.out.println(list.contains(16));
    }
}
